﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/// 
/// Contains custom exceptions
/// 

namespace InterPC.SPF {

    /// <summary>
    /// Raised to signify PermError during check
    /// </summary>
    internal class PermErrorException : Exception {
        internal PermErrorException() : base() { }
        internal PermErrorException(string message) : base(message) { }
        internal PermErrorException(string message, Exception inner) : base(message, inner) { }
        internal PermErrorException(Exception inner) : base(null, inner) { }
    }

    /// <summary>
    /// Raised to signify TempError during check
    /// </summary>
    internal class TempErrorException : Exception {
        internal TempErrorException() : base() { }
        internal TempErrorException(string message) : base(message) { }
        internal TempErrorException(string message, Exception inner) : base(message, inner) { }
        internal TempErrorException(Exception inner) : base(null, inner) { }
    }

}
